package com.mxsoft.ssmdemo.service;

import com.mxsoft.ssmdemo.model.Foo;

import java.util.List;

/**
 * @author zhangyingxuan
 */
public interface IFooService {
    int add(Foo foo);

    int edit(Foo foo);

    int delete(Long id);

    List<Foo> findAll();

    Foo findById(Long id);
}
